﻿<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" CodeBehind="Add.aspx.cs"
    Inherits="PlugNT.Cms.Web.Admin.Pre_Advertise.Add" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>广告管理</title>
    <link href="../css/control.css" rel="stylesheet" type="text/css" media="all" />
    <script src="../js/jquery.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        function ShowTabs(id, num) {
            var tab;
            for (var i = 0; i < num; i++) {
                tab = $("#tab" + i);
                if (i == id) {
                    $("#TabTitle" + i).addClass("titlemouseover");
                    $("#tab" + i).show();
                }
                else {
                    $("#TabTitle" + i).removeClass("titlemouseover");
                    $("#tab" + i).hide();
                }
            }
            $("#<%=hfAdTypeId.ClientID%>").val(id);
        }
    </script>
    <style type="text/css">
        .titlemouseover
        {
            background: #d2e6fa;
        }

            .titlemouseover span
            {
                font-weight: bold;
            }

        .tabtitle
        {
        }
    </style>
</head>
<body>
    <form runat="server">
        <div class="frmstatic" style="display: block">
            <span class="frmbar" style="margin: 0 12px;"></span><span class="frmbar" style="margin: 0 11px;"></span>
            <div class="controls">
                <asp:HiddenField ID="hfAdTypeId" runat="server" Value="0" />
                <asp:HiddenField ID="hfAdId" runat="server" />
                <table cellspacing="0" cellpadding="0" border="0" width="100%">
                    <tr>
                        <td align="left">
                            <table>
                                <tr>
                                    <td>
                                        <img src="../images/maintenance_32x32.gif" width="16" height="16" />
                                    </td>
                                    <td>
                                        <label>
                                            设置 > 添加广告信息</label>
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td align="right">
                            <span>操作 > </span><a href='./Add.aspx'>添加广告信息</a> <a href='javascript:window.history.back();'>返回</a>
                        </td>
                    </tr>
                </table>
            </div>
            <span class="frmbar" style="margin: 0 11px;"></span><span class="frmbar" style="margin: 0 12px;"></span>
        </div>
        <div class="frmstatic" style="display: block">
            <table cellpadding="5" cellspacing="1" bgcolor="#ecf5ff">
                <tr>
                    <td id="TabTitle0" width="137" class="titlemouseover" onclick="ShowTabs(0,5)">
                        <span>图片</span>
                    </td>
                    <td id="TabTitle1" width="137" runat="server" onclick="ShowTabs(1,5)">
                        <span>动画</span>
                    </td>
                    <td id="TabTitle2" width="137" runat="server" onclick="ShowTabs(2,5)">
                        <span>文本</span>
                    </td>
                    <td id="TabTitle3" width="137" runat="server" onclick="ShowTabs(3,5)">
                        <span>幻灯片</span>
                    </td>
                    <td id="TabTitle4" width="137" runat="server" onclick="ShowTabs(4,5)">
                        <span>顶部大图</span>
                    </td>
                </tr>
            </table>
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td colspan="9" style="border: 1px solid #bac9c6;">
                        <asp:Panel ID="pnlMsg" runat="server" Visible="false" CssClass="pnlReturnMessageErr">
                            <asp:Literal ID="ltlMsg" runat="server"></asp:Literal>
                        </asp:Panel>
                        <table>
                            <tr>
                                <td align="right" nowrap bgcolor="#F4FBFF">所在栏目： &nbsp;
                                </td>
                                <td bgcolor="#F4FBFF">
                                    <asp:HiddenField ID="hidClsno" runat="server" />
                                    <asp:DropDownList ID="ddlMenu" runat="server">
                                    </asp:DropDownList>
                                </td>
                                <td align="center">&nbsp;
                                </td>
                            </tr>
                        </table>
                        <!--图片-->
                        <div id="tab0" runat="server" style="display: block">
                            <table width="100%" border="0" align="center" cellspacing="1" bgcolor="#ecf5ff">
                                <tr>
                                    <td class="form_table_input_info">广告名称：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txt_image_Add_Name" CssClass="long_input" runat="server"></asp:TextBox>
                                    </td>
                                    <td>
                                        <asp:Panel ID="txt_image_Add_NameTip" runat="server">
                                        </asp:Panel>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">图片上传：
                                    </td>
                                    <td>
                                        <asp:FileUpload ID="fu_images" runat="server" /><br />
                                        <asp:Image runat="server" ID="fu_show_images" Width="150" Height="40" />
                                    </td>
                                    <td>
                                        <div class="msgNormal">
                                            请选择要上传的图片
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">图片宽：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txt_images_Width" runat="server" Width="43px" MaxLength="4" onkeyup="value=value.replace(/[^\d]/g,'') "
                                            onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"></asp:TextBox>
                                    </td>
                                    <td>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">图片高：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txt_images_Height" runat="server" Width="43px" MaxLength="4" onkeyup="value=value.replace(/[^\d]/g,'') "
                                            onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"></asp:TextBox>
                                    </td>
                                    <td>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">链接地址：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txt_images_LinkAddress" runat="server" Width="50%" MaxLength="50">http://</asp:TextBox>
                                    </td>
                                    <td>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">链接提示：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txt_images_Hint" runat="server" Width="50%" MaxLength="100"></asp:TextBox>
                                    </td>
                                    <td>
                                        <div class="msgNormal">
                                            请输入广告的链接提示
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">链接目标：
                                    </td>
                                    <td>
                                        <asp:RadioButtonList ID="rdolstTarget1" RepeatLayout="Flow" runat="server" RepeatDirection="Horizontal"
                                            Width="171px">
                                            <asp:ListItem Text="新窗口" Value="0" Selected="True"></asp:ListItem>
                                            <asp:ListItem Text="原窗口" Value="1"></asp:ListItem>
                                        </asp:RadioButtonList>
                                    </td>
                                    <td>
                                        <div class="msgNormal">
                                            请选择点击广告后要链接的目标方式
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">广告简介：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtContent1" runat="server" TextMode="MultiLine" Width="300px"></asp:TextBox>
                                    </td>
                                    <td>
                                        <div class="msgNormal">
                                            请输入简短的文字作为广告的介绍
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">广告权重：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txt_images_Power" runat="server" MaxLength="5" onkeyup="value=value.replace(/[^\d]/g,'') "
                                            onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"></asp:TextBox>
                                    </td>
                                    <td>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">统计浏览数：
                                    </td>
                                    <td>
                                        <asp:CheckBox ID="chx_images_BorwsCount" runat="server" Text="是否统计" />
                                        &nbsp;浏览数：<asp:TextBox ID="txt_images_BrowseCount" runat="server" MaxLength="10"
                                            Width="60px" onkeyup="value=value.replace(/[^\d]/g,'') " onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"></asp:TextBox>
                                    </td>
                                    <td>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">统计点击数：
                                    </td>
                                    <td>
                                        <asp:CheckBox ID="chx_images_ClickCount" runat="server" Text="是否统计" />
                                        &nbsp;点击数：<asp:TextBox ID="txt_images_ClickCount" runat="server" MaxLength="10" Width="60px"
                                            onkeyup="value=value.replace(/[^\d]/g,'') " onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"></asp:TextBox>
                                    </td>
                                    <td>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">广告过期时间：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="dpStart_images" CssClass="date_input" runat="server" Width="70"></asp:TextBox>
                                    </td>
                                    <td>
                                        <div class="msgNormal">
                                            请选择广告的过期时间
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">审核状态：
                                    </td>
                                    <td>
                                        <asp:CheckBox ID="chx_images_Examine" runat="server" Text="审核通过" />
                                    </td>
                                    <td>
                                        <div class="msgNormal">
                                            请选择是否通过审核
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </div>
                        <!--动画-->
                        <div id="tab1" class="tabs" runat="server" style="display: none">
                            <table width="100%" border="0" align="center" cellspacing="1" bgcolor="#ecf5ff">
                                <tr>
                                    <td class="form_table_input_info">广告名称：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txt_flash_Add_Name" CssClass="long_input" runat="server"></asp:TextBox>
                                    </td>
                                    <td>
                                        <asp:Panel ID="txt_flash_Add_NameTip" runat="server">
                                        </asp:Panel>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">动画上传：
                                    </td>
                                    <td>
                                        <asp:FileUpload ID="fu_flash" runat="server" />
                                    </td>
                                    <td>
                                        <div class="msgNormal">
                                            请选择你要上传的动画
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">动画宽：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txt_flash_Width" runat="server" Width="43px" MaxLength="4" onkeyup="value=value.replace(/[^\d]/g,'') "
                                            onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"></asp:TextBox>
                                    </td>
                                    <td>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">动画高：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txt_flash_Height" runat="server" Width="43px" MaxLength="4" onkeyup="value=value.replace(/[^\d]/g,'') "
                                            onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"></asp:TextBox>
                                    </td>
                                    <td>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">背景透明：
                                    </td>
                                    <td>
                                        <asp:RadioButtonList ID="rlistTarget2" runat="server" RepeatDirection="Horizontal"
                                            Width="171px">
                                            <asp:ListItem Text="不透明" Value="0" Selected="True"></asp:ListItem>
                                            <asp:ListItem Text="透明" Value="1"></asp:ListItem>
                                        </asp:RadioButtonList>
                                    </td>
                                    <td>
                                        <div class="msgNormal">
                                            请选择背景是否透明
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">广告权重：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txt_flash_Power" runat="server" MaxLength="5" onkeyup="value=value.replace(/[^\d]/g,'') "
                                            onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"></asp:TextBox>
                                    </td>
                                    <td>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">统计浏览数：
                                    </td>
                                    <td>
                                        <asp:CheckBox ID="chx_flash_BorwsCount" runat="server" Text="是否统计" />
                                        &nbsp;浏览数：<asp:TextBox ID="txt_flash_BrowseCount" runat="server" MaxLength="10" Width="60px"
                                            onkeyup="value=value.replace(/[^\d]/g,'') " onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"></asp:TextBox>
                                    </td>
                                    <td>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">统计点击数：
                                    </td>
                                    <td>
                                        <asp:CheckBox ID="chx_flash_ClickCount" runat="server" Text="是否统计" />
                                        &nbsp;点击数：<asp:TextBox ID="txt_flash_ClickCount" runat="server" MaxLength="10" Width="60px"
                                            onkeyup="value=value.replace(/[^\d]/g,'') " onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"></asp:TextBox>
                                    </td>
                                    <td>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">广告过期时间：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="dpStart_flash" CssClass="date_input" runat="server" Width="70"></asp:TextBox>
                                    </td>
                                    <td>
                                        <div class="msgNormal">
                                            请选择广告的过期时间
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">审核状态：
                                    </td>
                                    <td>
                                        <asp:CheckBox ID="chx_flash_Examine" runat="server" Text="审核通过" />
                                    </td>
                                    <td>
                                        <div class="msgNormal">
                                            请选择是否通过审核
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </div>
                        <!--文本-->
                        <div id="tab2" class="tabs" runat="server" style="display: none">
                            <table width="100%" border="0" align="center" cellspacing="1" bgcolor="#ecf5ff">
                                <tr>
                                    <td class="form_table_input_info">广告名称：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txt_text_Add_Name" CssClass="long_input" runat="server"></asp:TextBox>
                                    </td>
                                    <td>
                                        <asp:Panel ID="txt_text_Add_NameTip" runat="server">
                                        </asp:Panel>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">广告内容设置：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtContent3" runat="server" TextMode="MultiLine" Width="300px"></asp:TextBox>
                                    </td>
                                    <td>
                                        <asp:Panel ID="txtContent3Tip" runat="server">
                                        </asp:Panel>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">广告权重：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txt_text_Power" runat="server" MaxLength="5" onkeyup="value=value.replace(/[^\d]/g,'') "
                                            onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"></asp:TextBox>
                                    </td>
                                    <td>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">统计浏览数：
                                    </td>
                                    <td>
                                        <asp:CheckBox ID="chx_text_BorwsCount" runat="server" Text="是否统计" />
                                        &nbsp;浏览数：<asp:TextBox ID="txt_text_BrowseCount" runat="server" MaxLength="10" Width="60px"
                                            onkeyup="value=value.replace(/[^\d]/g,'') " onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"></asp:TextBox>
                                    </td>
                                    <td>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">统计点击数：
                                    </td>
                                    <td>
                                        <asp:CheckBox ID="chx_text_ClickCount" runat="server" Text="是否统计" />
                                        &nbsp;点击数：<asp:TextBox ID="txt_text_ClickCount" runat="server" MaxLength="10" Width="60px"
                                            onkeyup="value=value.replace(/[^\d]/g,'') " onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"></asp:TextBox>
                                    </td>
                                    <td>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">广告过期时间：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="dpStart_text" CssClass="date_input" runat="server" Width="70"></asp:TextBox>
                                    </td>
                                    <td>
                                        <div class="msgNormal">
                                            请选择广告的过期时间
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">审核状态：
                                    </td>
                                    <td>
                                        <asp:CheckBox ID="chx_text_Examine" runat="server" Text="审核通过" />
                                    </td>
                                    <td>
                                        <div class="msgNormal">
                                            请选择是否通过审核
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </div>
                        <!--幻灯片-->
                        <div id="tab3" class="tabs" runat="server" style="display: none">
                            <table width="100%" border="0" align="center" cellspacing="1" bgcolor="#ecf5ff">
                                <tr>
                                    <td class="form_table_input_info">广告名称：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txt_Slide_Add_Name" CssClass="long_input" runat="server"></asp:TextBox>
                                    </td>
                                    <td>
                                        <asp:Panel ID="txt_Slide_Add_NameTip" runat="server">
                                        </asp:Panel>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">图片上传：
                                    </td>
                                    <td>
                                        <input id="File1" type="file" name="File" runat="server" />
                                        <input onclick="addFile()" type="button" value="+" title="点击新增图片" />
                                        <div id="MyFile">
                                        </div>
                                    </td>
                                    <td>
                                        <div class="msgNormal">
                                            请选择你要上传的图片
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="3">
                                        <div id="divImages">
                                            <asp:Literal ID="litaAlbum" runat="server"></asp:Literal>
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">图片宽：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txt_Slide_Width" runat="server" Width="43px" MaxLength="4" onkeyup="value=value.replace(/[^\d]/g,'') "
                                            onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"></asp:TextBox>
                                    </td>
                                    <td>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">图片高：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txt_Slide_Height" runat="server" Width="43px" MaxLength="4" onkeyup="value=value.replace(/[^\d]/g,'') "
                                            onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"></asp:TextBox>
                                    </td>
                                    <td>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">链接地址：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtLinkAddress4" runat="server">http://</asp:TextBox>
                                    </td>
                                    <td>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">链接提示：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtHint4" runat="server" MaxLength="100"></asp:TextBox>
                                    </td>
                                    <td>
                                        <div class="msgNormal">
                                            请输入广告的链接提示
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">链接目标：
                                    </td>
                                    <td>
                                        <asp:RadioButtonList ID="rlistTarget4" RepeatLayout="Flow" runat="server" RepeatDirection="Horizontal"
                                            Width="171px">
                                            <asp:ListItem Text="新窗口" Value="0" Selected="True"></asp:ListItem>
                                            <asp:ListItem Text="原窗口" Value="1"></asp:ListItem>
                                        </asp:RadioButtonList>
                                    </td>
                                    <td>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">广告简介：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtContent4" runat="server" TextMode="MultiLine"></asp:TextBox>
                                    </td>
                                    <td>
                                        <div class="msgNormal">
                                            请输入简短的文字作为广告的介绍
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">广告权重：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txt_Slide_Power" runat="server" MaxLength="5" onkeyup="value=value.replace(/[^\d]/g,'') "
                                            onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"></asp:TextBox>
                                    </td>
                                    <td>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">统计浏览数：
                                    </td>
                                    <td>
                                        <asp:CheckBox ID="chx_Slide_BorwsCount" runat="server" Text="是否统计" />
                                        &nbsp;浏览数：<asp:TextBox ID="txt_Slide_BrowseCount" runat="server" MaxLength="10" Width="60px"
                                            onkeyup="value=value.replace(/[^\d]/g,'') " onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"></asp:TextBox>
                                    </td>
                                    <td>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">统计点击数：
                                    </td>
                                    <td>
                                        <asp:CheckBox ID="chx_Slide_ClickCount" runat="server" Text="是否统计" />
                                        &nbsp;点击数：<asp:TextBox ID="txt_Slide_ClickCount" runat="server" MaxLength="10" Width="60px"
                                            onkeyup="value=value.replace(/[^\d]/g,'') " onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"></asp:TextBox>
                                    </td>
                                    <td>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">广告过期时间：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="dpStart_Slide" CssClass="date_input" runat="server" Width="70"></asp:TextBox>
                                    </td>
                                    <td>
                                        <div class="msgNormal">
                                            请选择广告的过期时间
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">审核状态：
                                    </td>
                                    <td>
                                        <asp:CheckBox ID="chx_Slide_Examine" runat="server" Text="审核通过" />
                                    </td>
                                    <td>
                                        <div class="msgNormal">
                                            请选择是否通过审核
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </div>
                        <!--顶部大图-->
                        <div id="tab4" runat="server" style="display: none">
                            <table width="100%" border="0" align="center" cellspacing="1" bgcolor="#ecf5ff">
                                <tr>
                                    <td class="form_table_input_info">广告名称：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txt_img_name" CssClass="long_input" runat="server"></asp:TextBox>
                                    </td>
                                    <td>
                                        <asp:Panel ID="Panel1" runat="server">
                                        </asp:Panel>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">图片上传：
                                    </td>
                                    <td>
                                        <asp:FileUpload ID="txt_img_fileupload" runat="server" />
                                        <asp:Image runat="server" ID="txt_show_img_fileupload" Width="150" Height="40" />
                                    </td>
                                    <td>
                                        <div class="msgNormal">
                                            请选择要上传的图片
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">图片宽：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txt_img_w" runat="server" Width="43px" MaxLength="4" onkeyup="value=value.replace(/[^\d]/g,'') "
                                            onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"></asp:TextBox>
                                    </td>
                                    <td>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">图片高：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txt_img_h" runat="server" Width="43px" MaxLength="4" onkeyup="value=value.replace(/[^\d]/g,'') "
                                            onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"></asp:TextBox>
                                    </td>
                                    <td>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">链接地址：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txt_img_url" runat="server" Width="50%" MaxLength="50">http://</asp:TextBox>
                                    </td>
                                    <td>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">链接提示：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txt_img_alt" runat="server" Width="50%" MaxLength="100"></asp:TextBox>
                                    </td>
                                    <td>
                                        <div class="msgNormal">
                                            请输入广告的链接提示
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">链接目标：
                                    </td>
                                    <td>
                                        <asp:RadioButtonList ID="txt_img_target" RepeatLayout="Flow" runat="server" RepeatDirection="Horizontal"
                                            Width="171px">
                                            <asp:ListItem Text="新窗口" Value="0" Selected="True"></asp:ListItem>
                                            <asp:ListItem Text="原窗口" Value="1"></asp:ListItem>
                                        </asp:RadioButtonList>
                                    </td>
                                    <td>
                                        <div class="msgNormal">
                                            请选择点击广告后要链接的目标方式
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">广告简介：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txt_img_info" runat="server" TextMode="MultiLine" Width="300px"></asp:TextBox>
                                    </td>
                                    <td>
                                        <div class="msgNormal">
                                            请输入简短的文字作为广告的介绍
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">广告权重：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txt_img_qz" runat="server" MaxLength="5" onkeyup="value=value.replace(/[^\d]/g,'') "
                                            onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"></asp:TextBox>
                                    </td>
                                    <td>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">统计浏览数：
                                    </td>
                                    <td>
                                        <asp:CheckBox ID="ck_img_viewcount" runat="server" Text="是否统计" />
                                        &nbsp;浏览数：<asp:TextBox ID="txt_img_viewcount" runat="server" MaxLength="10" Width="60px"
                                            onkeyup="value=value.replace(/[^\d]/g,'') " onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"></asp:TextBox>
                                    </td>
                                    <td>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">统计点击数：
                                    </td>
                                    <td>
                                        <asp:CheckBox ID="ck_img_clickcount" runat="server" Text="是否统计" />
                                        &nbsp;点击数：<asp:TextBox ID="txt_img_clickcount" runat="server" MaxLength="10" Width="60px"
                                            onkeyup="value=value.replace(/[^\d]/g,'') " onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"></asp:TextBox>
                                    </td>
                                    <td>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">广告过期时间：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txt_img_endtime" CssClass="date_input" runat="server" Width="70"></asp:TextBox>
                                    </td>
                                    <td>
                                        <div class="msgNormal">
                                            请选择广告的过期时间
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="form_table_input_info">审核状态：
                                    </td>
                                    <td>
                                        <asp:CheckBox ID="txt_img_state" runat="server" Text="审核通过" />
                                    </td>
                                    <td>
                                        <div class="msgNormal">
                                            请选择是否通过审核
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:HiddenField ID="hidReferrer" runat="server" />
                        <asp:HiddenField ID="hidNO" runat="server" />
                        <asp:Button BackColor="#F4FBFF" CssClass="bt" ID="btnModify" runat="server" Text=" 保存 "
                            OnClick="lbtnSave_Click" />
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
